package com.coderyeah.cosmetology.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author lqs
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Business implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商家名称
     */
    private String busname;

    /**
     * 商家地址
     */
    private String busaddress;

    /**
     * 商家介绍
     */
    private String busexplain;

    /**
     * 商家电话
     */
    private String bustell;

    /**
     * 服务时间
     */
    private String servertime;

    /**
     * 商品图片
     */
    @TableField(exist = false)
    private String imageurl;

    /**
     * 商品名称
     */
    @TableField(exist = false)
    private String proname;

    /**
     * 商品id
     */
    @TableField(exist = false)
    private String proid;
}
